/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tk.eigh.ksvg.component.gradients;

import ksvg.core.SVGComponentBase;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
import tk.eigh.ksvg.types.SVGCoordinate;

/**
 *
 * @author nt
 */
@JSFComponent(name = "svg:LinearGradient",
type = "tk.eigh.svg.LinearGradient",
family = "gradients.LinearGradient",
clazz = "ksvg.gradients.LinearGradient",
tagClass = "ksvg.tags.gradients.LinearGradientTag",
defaultRendererType = "gradients.SVGLinearGradientRenderer",
desc="Linear gradients are defined by a ‘linearGradient’ element.")
public abstract class AbstractLinearGradient extends SVGComponentBase implements _GradientProperties {

    /**
     * x1 = "&lt;coordinate&gt;"
     *<br/>
     * ‘x1’, ‘y1’, ‘x2’ and ‘y2’ define a gradient vector for the linear
     * gradient. This gradient vector provides starting and ending points onto
     * which the gradient stops are mapped. The values of ‘x1’, ‘y1’, ‘x2’ and
     * ‘y2’ can be either numbers or percentages. If the attribute is not
     * specified, the effect is as if a value of '0%' were specified.
     *<br/>
     * Animatable: yes.
     */
    @JSFProperty
    public abstract SVGCoordinate getX1();

    /**
     * x2 = "&lt;coordinate&gt;"
     *<br/>
     * See ‘x1’. If the attribute is not specified, the
     * effect is as if a value of '100%' were specified.
     *<br/>
     * Animatable: yes.
     */
    @JSFProperty
    public abstract SVGCoordinate getX2();

    /**
     * y1 = "&lt;coordinate&gt;"
     *<br/>
     * See ‘x1’. If the attribute is not specified, the effect is as if a value
     * of '0%' were specified.
     *<br/>
     * Animatable: yes.
     */
    @JSFProperty
    public abstract SVGCoordinate getY1();

    /**
     * x2 = "&lt;coordinate&gt;"
     *<br/>
     * See ‘x1’. If the attribute is not specified, the effect is as if a value
     * of '100%' were specified.
     *<br/>
     * Animatable: yes.
     */
    @JSFProperty
    public abstract SVGCoordinate getY2();
}